package com.duanjw.springcloud.account.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 使用feign调用接口，feign默认使用Ribbon负载均衡
 *
 * @author duanjw
 */
@FeignClient(value = "order")
public interface OrderService {
    /**
     * 调用order接口
     *
     * @return
     */
    @GetMapping
    String order();
}
